import { AboutApi } from '@/api/api'
const about = {
    namespaced: true,
    state: {
        // fistName: '首页',
        aboutInfo: {},
    },
    mutations: {
        // MSetFistName(state, data) {
        //   console.log(data);
        //   state.fistName = data
        // }
    },
    actions: {
        AFistName({ commit, state }, data) {
            AboutApi.aboutList().then((res) => {
                const { aboutInfo } = res.data;
                state.aboutInfo = aboutInfo;
                console.log(1234, state.aboutInfo);
            });
        }
    }
}
export default about